<div  class="subMenuTray">
	<div class="trayHeading" align="left"  style="padding-left:15px; padding-top:5px">
           <strong>Courses</strong>
           </div>
            <?php
				  $LanQry   = "SELECT * FROM `software_pages` where sub_menu = 'Y'";
				  $resQuery = mysql_query($LanQry);
				  while($rowQuery = mysql_fetch_array($resQuery))
				  {
					 
			?>
            <div  align="left" style="width:180px;margin-top:15px; padding-left:10px" class="menuTrayLink">
           		 <a href="sub_pages.php?page_id=<?=$rowQuery["page_id"]?>" style=" font-size:12px" ><?=$rowQuery["page_name"]?></a>
            </div>
            <?php
					$category = $rowQuery["category"];
				  }
			?>
          
        </div>